package org.sky.autoconfigure.factory;

import org.sky.autoconfigure.SkyProperties;
import org.sky.sys.util.BspUtils;

/**
 * @author weifx
 * @Title: SkyPropertiesFactory
 * @ProjectName springboot-platform
 * @Description: TODO{系统参数工厂类}
 * @date 2019/3/29 9:41
 * @Version 1.0
 */
public class SkyPropertiesFactory {
    private static SkyProperties skyProperties;
    public static SkyProperties getSkyProperties(){
        if(null==skyProperties){
            skyProperties = BspUtils.getBean(SkyProperties.class);
        }
        return skyProperties;
    }
}
